# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Andy Mender <andymenderunix@gmail.com>

pkgname=nuklear
pkgver=4.10.5
pkgrel=1
pkgdesc='Single-header ANSI C immediate mode cross-platform GUI library'
url='https://github.com/Immediate-Mode-UI/Nuklear'
arch=('any')
license=('MIT')
source=(${url}/archive/refs/tags/${pkgver}/${pkgname}-${pkgver}.tar.gz)
sha512sums=('3bdc01ee6666a83e804915e616bd3853a17a6b4bf33220ce3a9ca6a7fef1c380717bff788cf4540a22d6476ca69583805d7da67bb52a10f75176e8afe7d07729')
b2sums=('284d15b70222c898b617f8e0c54b07bf0fd05ed47593c6de70da4923bc9e6700746f09ccbe20eed893b5e7607eab8cdff57debf10ce93bbd84ca511cb1b9f047')

package() {
  cd Nuklear-${pkgver}
  install -Dm 644 nuklear.h -t "$pkgdir"/usr/include
  install -Dm 644 Readme.md doc/index.html -t "$pkgdir"/usr/share/doc/"$pkgname"
  install -Dm 644 Readme.md -t "$pkgdir"/usr/share/licenses/"$pkgname"
}

# vim: ts=2 sw=2 et:
